<?php

App::uses('AppController', 'Controller');

class HomeController extends AppController {

	public $uses = array('Newsletters');


	public function index(){
		//$sisusers = $this->Sis
		//var_dump($this->Session->read('Auth.User'));
	}
	
	public function newsletters(){
		
		$newsletters = $this->paginate('Newsletters');// $this->Newsletters->find('all');
		//var_dump($newsletters);
		$this->set('page_title',"LISTADO DE SUSCRIPTORES");
		$this->set('newsletters',$newsletters);
	}

	/*public function stocks(){
		
		$stocks = $this->paginate('Stocks');// $this->Newsletters->find('all');
		var_dump($stocks);
		$this->set('page_title',"LISTADO DE ACCIONES");
		$this->set('stocks',$stocks);
	}*/
}
